Optimal. Leaf size=167 \[ \frac{1}{3} d x^3 \left (a+b \text{csch}^{-1}(c x)\right )+\frac{1}{5} e x^5 \left (a+b \text{csch}^{-1}(c x)\right )+\frac{b x^2 \sqrt{-c^2 x^2-1} \left (20 c^2 d-9 e\right )}{120 c^3 \sqrt{-c^2 x^2}}+\frac{b x \left (20 c^2 d-9 e\right ) \tan ^{-1}\left (\frac{c x}{\sqrt{-c^2 x^2-1}}\right )}{120 c^4 \sqrt{-c^2 x^2}}+\frac{b e x^4 \sqrt{-c^2 x^2-1}}{20 c \sqrt{-c^2 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.108677, antiderivative size = 167, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 7, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.368, Rules used = {14, 6302, 12, 459, 321, 217, 203} \[ \frac{1}{3} d x^3 \left (a+b \text{csch}^{-1}(c x)\right )+\frac{1}{5} e x^5 \left (a+b \text{csch}^{-1}(c x)\right )+\frac{b x^2 \sqrt{-c^2 x^2-1} \left (20 c^2 d-9 e\right )}{120 c^3 \sqrt{-c^2 x^2}}+\frac{b x \left (20 c^2 d-9 e\right ) \tan ^{-1}\left (\frac{c x}{\sqrt{-c^2 x^2-1}}\right )}{120 c^4 \sqrt{-c^2 x^2}}+\frac{b e x^4 \sqrt{-c^2 x^2-1}}{20 c \sqrt{-c^2 x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 6302
Rule 12
Rule 459
Rule 321
Rule 217
Rule 203
Rubi steps
\begin{align*} \int x^2 \left (d+e x^2\right ) \left (a+b \text{csch}^{-1}(c x)\right ) \, dx &=\frac{1}{3} d x^3 \left (a+b \text{csch}^{-1}(c x)\right )+\frac{1}{5} e x^5 \left (a+b \text{csch}^{-1}(c x)\right )-\frac{(b c x) \int \frac{x^2 \left (5 d+3 e x^2\right )}{15 \sqrt{-1-c^2 x^2}} \, dx}{\sqrt{-c^2 x^2}}\\ &=\frac{1}{3} d x^3 \left (a+b \text{csch}^{-1}(c x)\right )+\frac{1}{5} e x^5 \left (a+b \text{csch}^{-1}(c x)\right )-\frac{(b c x) \int \frac{x^2 \left (5 d+3 e x^2\right )}{\sqrt{-1-c^2 x^2}} \, dx}{15 \sqrt{-c^2 x^2}}\\ &=\frac{b e x^4 \sqrt{-1-c^2 x^2}}{20 c \sqrt{-c^2 x^2}}+\frac{1}{3} d x^3 \left (a+b \text{csch}^{-1}(c x)\right )+\frac{1}{5} e x^5 \left (a+b \text{csch}^{-1}(c x)\right )-\frac{\left (b c \left (20 d-\frac{9 e}{c^2}\right ) x\right ) \int \frac{x^2}{\sqrt{-1-c^2 x^2}} \, dx}{60 \sqrt{-c^2 x^2}}\\ &=\frac{b \left (20 c^2 d-9 e\right ) x^2 \sqrt{-1-c^2 x^2}}{120 c^3 \sqrt{-c^2 x^2}}+\frac{b e x^4 \sqrt{-1-c^2 x^2}}{20 c \sqrt{-c^2 x^2}}+\frac{1}{3} d x^3 \left (a+b \text{csch}^{-1}(c x)\right )+\frac{1}{5} e x^5 \left (a+b \text{csch}^{-1}(c x)\right )+\frac{\left (b \left (20 d-\frac{9 e}{c^2}\right ) x\right ) \int \frac{1}{\sqrt{-1-c^2 x^2}} \, dx}{120 c \sqrt{-c^2 x^2}}\\ &=\frac{b \left (20 c^2 d-9 e\right ) x^2 \sqrt{-1-c^2 x^2}}{120 c^3 \sqrt{-c^2 x^2}}+\frac{b e x^4 \sqrt{-1-c^2 x^2}}{20 c \sqrt{-c^2 x^2}}+\frac{1}{3} d x^3 \left (a+b \text{csch}^{-1}(c x)\right )+\frac{1}{5} e x^5 \left (a+b \text{csch}^{-1}(c x)\right )+\frac{\left (b \left (20 d-\frac{9 e}{c^2}\right ) x\right ) \operatorname{Subst}\left (\int \frac{1}{1+c^2 x^2} \, dx,x,\frac{x}{\sqrt{-1-c^2 x^2}}\right )}{120 c \sqrt{-c^2 x^2}}\\ &=\frac{b \left (20 c^2 d-9 e\right ) x^2 \sqrt{-1-c^2 x^2}}{120 c^3 \sqrt{-c^2 x^2}}+\frac{b e x^4 \sqrt{-1-c^2 x^2}}{20 c \sqrt{-c^2 x^2}}+\frac{1}{3} d x^3 \left (a+b \text{csch}^{-1}(c x)\right )+\frac{1}{5} e x^5 \left (a+b \text{csch}^{-1}(c x)\right )+\frac{b \left (20 c^2 d-9 e\right ) x \tan ^{-1}\left (\frac{c x}{\sqrt{-1-c^2 x^2}}\right )}{120 c^4 \sqrt{-c^2 x^2}}\\ \end{align*}
Mathematica [A] time = 0.166842, size = 119, normalized size = 0.71 \[ \frac{c^2 x^2 \left (8 a c^3 x \left (5 d+3 e x^2\right )+b \sqrt{\frac{1}{c^2 x^2}+1} \left (c^2 \left (20 d+6 e x^2\right )-9 e\right )\right )+b \left (9 e-20 c^2 d\right ) \log \left (x \left (\sqrt{\frac{1}{c^2 x^2}+1}+1\right )\right )+8 b c^5 x^3 \text{csch}^{-1}(c x) \left (5 d+3 e x^2\right )}{120 c^5} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.18, size = 171, normalized size = 1. \begin{align*}{\frac{1}{{c}^{3}} \left ({\frac{a}{{c}^{2}} \left ({\frac{{c}^{5}{x}^{5}e}{5}}+{\frac{{c}^{5}{x}^{3}d}{3}} \right ) }+{\frac{b}{{c}^{2}} \left ({\frac{{\rm arccsch} \left (cx\right ){c}^{5}{x}^{5}e}{5}}+{\frac{{\rm arccsch} \left (cx\right ){c}^{5}{x}^{3}d}{3}}-{\frac{1}{120\,cx}\sqrt{{c}^{2}{x}^{2}+1} \left ( -6\,e{c}^{3}{x}^{3}\sqrt{{c}^{2}{x}^{2}+1}-20\,{c}^{3}dx\sqrt{{c}^{2}{x}^{2}+1}+20\,{c}^{2}d{\it Arcsinh} \left ( cx \right ) +9\,ecx\sqrt{{c}^{2}{x}^{2}+1}-9\,e{\it Arcsinh} \left ( cx \right ) \right ){\frac{1}{\sqrt{{\frac{{c}^{2}{x}^{2}+1}{{c}^{2}{x}^{2}}}}}}} \right ) } \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.01035, size = 306, normalized size = 1.83 \begin{align*} \frac{1}{5} \, a e x^{5} + \frac{1}{3} \, a d x^{3} + \frac{1}{12} \,{\left (4 \, x^{3} \operatorname{arcsch}\left (c x\right ) + \frac{\frac{2 \, \sqrt{\frac{1}{c^{2} x^{2}} + 1}}{c^{2}{\left (\frac{1}{c^{2} x^{2}} + 1\right )} - c^{2}} - \frac{\log \left (\sqrt{\frac{1}{c^{2} x^{2}} + 1} + 1\right )}{c^{2}} + \frac{\log \left (\sqrt{\frac{1}{c^{2} x^{2}} + 1} - 1\right )}{c^{2}}}{c}\right )} b d + \frac{1}{80} \,{\left (16 \, x^{5} \operatorname{arcsch}\left (c x\right ) - \frac{\frac{2 \,{\left (3 \,{\left (\frac{1}{c^{2} x^{2}} + 1\right )}^{\frac{3}{2}} - 5 \, \sqrt{\frac{1}{c^{2} x^{2}} + 1}\right )}}{c^{4}{\left (\frac{1}{c^{2} x^{2}} + 1\right )}^{2} - 2 \, c^{4}{\left (\frac{1}{c^{2} x^{2}} + 1\right )} + c^{4}} - \frac{3 \, \log \left (\sqrt{\frac{1}{c^{2} x^{2}} + 1} + 1\right )}{c^{4}} + \frac{3 \, \log \left (\sqrt{\frac{1}{c^{2} x^{2}} + 1} - 1\right )}{c^{4}}}{c}\right )} b e \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 3.17026, size = 617, normalized size = 3.69 \begin{align*} \frac{24 \, a c^{5} e x^{5} + 40 \, a c^{5} d x^{3} + 8 \,{\left (5 \, b c^{5} d + 3 \, b c^{5} e\right )} \log \left (c x \sqrt{\frac{c^{2} x^{2} + 1}{c^{2} x^{2}}} - c x + 1\right ) +{\left (20 \, b c^{2} d - 9 \, b e\right )} \log \left (c x \sqrt{\frac{c^{2} x^{2} + 1}{c^{2} x^{2}}} - c x\right ) - 8 \,{\left (5 \, b c^{5} d + 3 \, b c^{5} e\right )} \log \left (c x \sqrt{\frac{c^{2} x^{2} + 1}{c^{2} x^{2}}} - c x - 1\right ) + 8 \,{\left (3 \, b c^{5} e x^{5} + 5 \, b c^{5} d x^{3} - 5 \, b c^{5} d - 3 \, b c^{5} e\right )} \log \left (\frac{c x \sqrt{\frac{c^{2} x^{2} + 1}{c^{2} x^{2}}} + 1}{c x}\right ) +{\left (6 \, b c^{4} e x^{4} +{\left (20 \, b c^{4} d - 9 \, b c^{2} e\right )} x^{2}\right )} \sqrt{\frac{c^{2} x^{2} + 1}{c^{2} x^{2}}}}{120 \, c^{5}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x^{2} \left (a + b \operatorname{acsch}{\left (c x \right )}\right ) \left (d + e x^{2}\right )\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (e x^{2} + d\right )}{\left (b \operatorname{arcsch}\left (c x\right ) + a\right )} x^{2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]